{% extends 'AdminBase.html' %}


{% block header %}

{% endblock %}


{% block contenter %}
<section class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h4 class="card-title">百度音乐库</h4>
                        <div class="card-tools">
                            <div class="input-group input-group-sm">
                                <button type="button" class="btn btn-block bg-gradient-primary btn-sm">Primary</button>
                            </div>
                        </div>
                    </div>

                    <div class="card-body table-responsive p-0">
                        <table class="table table-hover text-nowrap">
                            <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>音乐名称</th>
                                    <th>路径</th>
                                    <th>来源</th>
                                </tr>
                            </thead>
                            <tbody>
                            {% for info in list %}
                                <tr>
                                     <td>{{ info.id }}</td>
                                    <td>{{ info.muisc_name }}</td>
                                    <td>{{ info.path }}</td>
                                    <td>{{ info.muisc_source }}</td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>

                </div>
            </div>
        </div>
    </div>
</section>
{% endblock %}



{% block footer %}
<script type="text/javascript" src="{{url_for('static',filename='js/app/function.js') }}"></script>
<script type="text/javascript" src="{{url_for('static',filename='js/app/music.js') }}"></script>
{% endblock %}